# -*- coding:utf-8 -*-

# 通用错误[1-100]


# 注册[101-200]
EC_REGISTER_PHONENUM_TYPE_ERROR = 101
ER_REGISTER_PHONENUM_TYPE_ERROR = "手机号格式错误，请重新输入"
EC_REGISTER_USERID_REPEAT = 102
ER_REGISTER_USERID_REPEAT = "该账号已被注册"
EC_REGISTER_IDCARD_TYPE_ERROR = 103
ER_REGISTER_IDCARD_TYPE_ERROR = "身份证号格式错误，请重新输入"
EC_REGISTER_PASSWORD_TYPE_ERROR = 104
ER_REGISTER_PASSWORD_TYPE_ERROR = "密码格式错误，请重新输入"

# 登录[201-300]
EC_LOGIN_USERID_ERROR = 201
ER_LOGIN_USERID_ERROR = "账号不存在，请重新输入"
EC_LOGIN_PASSWORD_ERROR = 202
ER_LOGIN_PASSWORD_ERROR = "密码错误，请重新输入"

# 商城[301-400]
EC_SHOP_VERSION_LOW = 301
ER_SHOP_VERSION_LOW = "商城版本过低，请刷新重试"
EC_SHOP_BUY_LIST_NOT_EXIST = 302
ER_SHOP_BUY_LIST_NOT_EXIST = "该商品未上架"
EC_SHOP_BUY_PROP_NOT_EXIST = 303
ER_SHOP_BUY_PROP_NOT_EXIST = "该商品不存在"
EC_SHOP_BUY_CLIENT_VERSION_LOW = 304
ER_SHOP_BUY_CLIENT_VERSION_LOW = "客户端版本过低，请更新后重试"
EC_SHOP_BUY_INVENTORY_NOT_ENOUGH = 305
ER_SHOP_BUY_INVENTORY_NOT_ENOUGH = "商品库存不足"
